home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 23 / AACD 23.iso / AACD / Programming / Wipeout / source / pubwipeoutsemaphore.h < prev    next >
C/C++ Source or Header  |  2001-02-10  |  1KB  |  50 lines

  1. /*
  2.  * $Id$
  3.  *
  4.  * :ts=4
  5.  *
  6.  * Wipeout -- Traces and munges memory and detects memory trashing
  7.  *
  8.  * Written by Olaf `Olsen' Barthel <olsen@sourcery.han.de>
  9.  * Public Domain
  10.  */
  11.  
  12. #ifndef _PUBWIPEOUTSEMAPHORE_H
  13. #define _PUBWIPEOUTSEMAPHORE_H 1
  14.  
  15. /****************************************************************************/
  16.  
  17. #include <utility/tagitem.h>
  18.  
  19. /****************************************************************************/
  20.  
  21. #define PUBWIPEOUTSEMAPHORENAME        "« Wipeout »"
  22. #define PUBWIPEOUTSEMAPHOREVERSION    2
  23. #define PUBWIPEOUTSEMAPHOREREVISION    1
  24.  
  25. /****************************************************************************/
  26.  
  27. typedef LONG (* __asm WipeoutControlFunc)(register __a0 struct TagItem *tags);
  28.  
  29. /****************************************************************************/
  30.  
  31. struct WipeoutSemaphore
  32. {
  33.     struct SignalSemaphore    ws_SignalSemaphore;    /* regular semaphore */
  34.     WORD                    ws_Version;            /* semaphore version number */
  35.     WORD                    ws_Revision;        /* semaphore revision number */
  36.  
  37.     WipeoutControlFunc        ws_ControlFunc;
  38. };
  39.  
  40. /****************************************************************************/
  41.  
  42. #define WOT_BASE    (TAG_USER+20010602)
  43.  
  44. #define WOT_Address    (WOT_BASE+1)
  45. #define WOT_SetPC    (WOT_BASE+2)
  46.  
  47. /****************************************************************************/
  48.  
  49. #endif /* _PUBWIPEOUTSEMAPHORE_H */
  50.